#ifndef _BS_H_
#define _BS_H_

// utilities and system includes
#include <cutil_inline.h>
#include <cuda_runtime_api.h>
#include <cutil_math.h>

typedef struct BS_test {
	float * h_CallResult;
	float * h_PutResult;
	float * h_StockPrice;
	float * h_OptionStrike;
	float * h_OptionYears;

	float * d_CallResult;
	float * d_PutResult;
	float * d_StockPrice;
	float * d_OptionStrike;
	float * d_OptionYears;

	float Riskfree;
	float Volatility;

	int blockSize;
	int gridSize;
	unsigned int num;
	double time;
} BS_test_t;

double launch_BS(BS_test_t * t);

#endif // #ifndef _BS_H_